package com.sea.base.ext.global

/**
 * 带this环境的run
 */
@Suppress("FunctionName")
inline fun RunnableThis(crossinline block: Runnable.() -> Unit) = object : Runnable {
    override fun run() {
        this.block()
    }
}